package com.xbongbong.pro.productwarehouse.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/4/5 11:17
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ProductWarehouseInsertDTO extends BaseDTO {
    private static final long serialVersionUID = -9069737357960882612L;

    /**
     * 仓库id
     */
    private Long warehouseId;
    /**
     * 仓库名
     */
    private String warehouseName;
    /**
     * 产品id
     */
    private Long parentId;
    /**
     * 产品id
     */
    private Long productId;
    /**
     * 当前库存
     */
    private Double num;
    /**
     * 期初库存
     */
    private Double oriNum;
    /**
     * 库存上限
     */
    private Double stockUpperLimit;
    /**
     * 库存下限
     */
    private Double stockLowerLimit;

    /**
     * 成本（初始值是tb_product的cost）
     */
    private Double cost;

}
